From 7f63b6626b61b6f44268a0cb2f070151defac824 Mon Sep 17 00:00:00 2001 From: "kaf24@scramble.cl.cam.ac.uk" Date: Thu, 22 Apr 2004 18:02:56 +0000 Subject: [PATCH] bitkeeper revision 1.874 (408808d0T9IfojQOKayZ-Kw-GYP94A) Fix event-channel suspend/resume. --- xenolinux-2.4.26-sparse/arch/xen/kernel/evtchn.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/xenolinux-2.4.26-sparse/arch/xen/kernel/evtchn.c b/xenolinux-2.4.26-sparse/arch/xen/kernel/evtchn.c index 4f933057c2..1d70d00bb5 100644 --- a/xenolinux-2.4.26-sparse/arch/xen/kernel/evtchn.c +++ b/xenolinux-2.4.26-sparse/arch/xen/kernel/evtchn.c @@ -355,8 +355,7 @@ static struct irqaction misdirect_action = { void irq_suspend(void) { - evtchn_op_t op; - int virq, irq, evtchn; + int virq, irq, evtchn; /* Unbind VIRQs from event channels. */ for ( virq = 0; virq < NR_VIRQS; virq++ ) @@ -365,13 +364,6 @@ void irq_suspend(void) continue; evtchn = irq_to_evtchn[irq]; - /* Inform Xen that we are unbinding. */ - op.cmd = EVTCHNOP_close; - op.u.close.dom = DOMID_SELF; - op.u.close.port = evtchn; - if ( HYPERVISOR_event_channel_op(&op) != 0 ) - panic("Failed to unbind virtual IRQ %d\n", virq); - /* Mark the event channel as unused in our table. */ evtchn_to_irq[evtchn] = -1; irq_to_evtchn[irq] = -1; -- 2.30.2